package org.kl.bf.entity.basic;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.kl.bf.entity.AuditableEntity;

//帮助文档
@Entity
@Table(name = "BASIC_HELP_DOCUMENT")
public class HelpDocument extends AuditableEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String helpParentId;//父文档
	private String helpDocTitle;//帮助文档标题
	private CodeValues helpDocType;//帮助文档类型
	
	public HelpDocument(){
		
	}
	public HelpDocument(String id){
		this.id = id;
	}
	
	public String getHelpParentId() {
		return helpParentId;
	}
	public void setHelpParentId(String helpParentId) {
		this.helpParentId = helpParentId;
	}
	public String getHelpDocTitle() {
		return helpDocTitle;
	}
	public void setHelpDocTitle(String helpDocTitle) {
		this.helpDocTitle = helpDocTitle;
	}
	
	@ManyToOne
	@JoinColumn(name = "help_doc_type")
	public CodeValues getHelpDocType() {
		return helpDocType;
	}
	public void setHelpDocType(CodeValues helpDocType) {
		this.helpDocType = helpDocType;
	}
}
